package com.fin.quant.instra.mysql.mapper;

import com.fin.quant.instra.mysql.model.TargetMetrics;
import com.fin.quant.instra.mysql.model.TargetMetricsExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface TargetMetricsMapper {
    long countByExample(TargetMetricsExample example);

    int deleteByExample(TargetMetricsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TargetMetrics record);

    int insertSelective(TargetMetrics record);

    List<TargetMetrics> selectByExample(TargetMetricsExample example);

    TargetMetrics selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TargetMetrics record, @Param("example") TargetMetricsExample example);

    int updateByExample(@Param("record") TargetMetrics record, @Param("example") TargetMetricsExample example);

    int updateByPrimaryKeySelective(TargetMetrics record);

    int updateByPrimaryKey(TargetMetrics record);
}